RM_PagBank\Connect\Standalone\CreditCard C

Total Complexity 107
Dependencies 15
Dependents 2
Total lines 796
Lines of code 563
Logical lines of code 270
Comment lines 133
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
process_payment()
D
26
30 156
addScripts()
D
30 31 110
add_payment_method()
A
35 12 94
validate_connect_key_field()
S
52 4 24
addStyles()
S
54 4 21
payment_fields()
S
61 4 13
get_saved_payment_method_option_html()
S
54 2 24
saveCcToken()
S
53 2 22
__construct()
S
48 1 33
admin_options()
S
74 3 4
filter_customer_tokens_for_blocks()
S
67 3 8
validate_cc_installment_options_fixed_field()
S
62 2 13
form()
S
67 2 8
codeCanRetryPayment()
S
64 1 11
init_form_fields()
S
79 1 3
validate_fields()
S
82 1 3
getDefaultInstallments()
S
75 1 4
field_name()
S
78 1 3
process_refund()
S
79 1 3
render_installments_field()
S
71 1 6